home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / mtask.arc / MTS.DOC < prev   
Text File  |  1980-01-01  |  4KB  |  80 lines

  1.                              USING HKE.COM
  2.  
  3.  
  4. HKE is for DOS 2.00 to 3.10 and is a DOS extension allowing you to
  5. run two DOS partitions in a time-sharing mode.  RAM is divided into
  6. 2 parts, one for each application. DOS is shared between partitions.
  7. To switch control from one partition to the other, use the Alt-Esc
  8. key (or Alt Tilde/Reverse Apostrophe on the PC/AT). If you have 2
  9. monitors, a monochrome and a color monitor (excepting the PC Jr),
  10. one partition  can have the color display and the other partition
  11. the monochrome display. In this mode you can see the output for both
  12. tasks at the same time - the Alt-Esc key only switches ownership of
  13. the keyboard. The upper left corner of the screen shows which
  14. partition is in use.
  15.  
  16. Color displays can be driven by either the Color Graphics Adapter
  17. (the CGA) or the Enhanced Graphics Adapter (EGA), but HKE does not
  18. support applications which use graphic modes not supported by the
  19. CGA.
  20.  
  21. The PC, Portable, /XT, the Jr (DOS 2.0 and above) and the /AT (DOS
  22. 3.0 and above) aqre supported. Any application which confines its
  23. screen and keyboard to DOS and/or BIOS calls can work.
  24.  
  25. Interrupt - driven applications may only be run in partition 1,
  26. and BASIC programs only in partition 2. BASIC programs which
  27. support RS232 communications are not supported.
  28.  
  29.  
  30.  
  31. page 2
  32.  
  33.  
  34. Before running HKE issue any commands such as PATH or PROMPT which
  35. extend the DOS system environment. Add a '1' to the front of the normal
  36. prompt string to designate partition 1. Start HKE by the DOS command:
  37.  
  38.         HKE   <MEM nnn<K>>  <B1*/F1> <F2*/B2> </1D*/2D> </EX>
  39.  
  40. where the angle brackets are optional and the asterisk (*) denotes
  41. operands which are mutually exclusive. The first time HKE is run after
  42. a boot or after being removed with the /EX parameter, COMMAND.COM
  43. must be available from the disk drive and directory specified by
  44. the environment parameter COMSPEC= (usually the IPL disk and root
  45. directory). Otherwise HKE will terminate with an error message
  46. without installing itself.
  47.  
  48. Partition sizes can be specified only after a system boot or after
  49. removing HKE from the system. Thiis is done with the MEM nnnK
  50. parameter, and specifies th size of partition 1. Partition 2 takes
  51. up the rest of RAM to the highest memory location, and gets an extra
  52. 4k because a new COMMAND.COM is started there. The minimum size of
  53. partition 1 is 16k with DOS 2.n0 and 20k under DOS 3.n0. The other
  54. operands can be specified at a later time from either partition.
  55.  
  56.  
  57. You specify for either partition whether it owns the screen and
  58. keyboard (foreground) or can also be multi-tasked (background). If
  59. you specify /F1, for example, the application in partition 1 will
  60. be run only when it owns the keyboard and screen. The switches
  61. are defined as:
  62.  
  63.    /F1   P1 Foreground only
  64.    /F2   P2 Foreground only
  65.    /B1   P2 Foreground/Background
  66.    /B2   P2 Foreground/Background
  67.  
  68. When the background task is set to /Fn, no time-slicing occurs and
  69. the background task will get no CPU cycles - the foreground task
  70. will perform near or at maximum. When the background is set to /Bn,
  71. the background task gets about 30% of the CPU when neither task is
  72. waiting on the keyboard or other task.  The default settings are
  73. /B1 /F2, which allows partition 1 to multi-task, but partition 2
  74. runs only in the foreground.
  75.  
  76. With 1 display, '1D' is the default and should never be changed.
  77. With a color and monochrome display, the '2D' option both screens
  78. can be used, to show the same or two different applications. Both
  79. screens are switched when Alt-Esc is pressed.
  80.